﻿namespace Sources
{
	/// <summary>
	/// ContentType Artefact to deploy
	/// </summary>
	public class ContentTypeArtefact : IDeployableObject
	{
		/// <summary>
		/// ID for the ContentType
		/// </summary>
		public string ID { get; set; }
		/// <summary>
		/// Name of the ContentType
		/// </summary>
		public string Name { get; set; }
		/// <summary>
		/// Description of the ContentType
		/// </summary>
		public string Description { get; set; }
		/// <summary>
		/// Group of the ContentType
		/// </summary>
		public string Group { get; set; }
		/// <summary>
		/// Identifies if the ContentType should be deployed to the RootWeb
		/// </summary>
		public bool ToRootWeb { get; set; }
		/// <summary>
		/// Referenced fields in the ContentType
		/// </summary>
		public FieldArtefact[] FieldItems { get; set; }
	}
}
